package com.xing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xing.DTO.LoginDTO;
import com.xing.DTO.UserDTO;
import com.xing.entity.UserDetail;
import com.xing.entity.UserEntity;
import com.xing.utils.Result;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2024/7/16 11:46
 */
public interface UserService extends IService<UserEntity> {
    UserDetail getUserDetailByUsername(String username);

    Result Login(LoginDTO dto);

    Result Register(LoginDTO dto);

    Result GetMe();
}
